<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-cgzxPlanproductplanMes-edit" th:object="${cgzxPlanproductplanMes}">
            <input id="dispatchCode" name="dispatchCode" th:field="*{dispatchCode}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">作业类型：
0：开工
1：完工
2：暂停
3：复工
4：异常下线
：</label>
				<div class="col-sm-8">
					<input id="workType" name="workType" th:field="*{workType}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">异常原因描述
异常下线时填报
：</label>
				<div class="col-sm-8">
					<input id="abnormalDesc" name="abnormalDesc" th:field="*{abnormalDesc}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">操作者工号：</label>
				<div class="col-sm-8">
					<input id="operatorCode1" name="operatorCode1" th:field="*{operatorCode1}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">操作者姓名：</label>
				<div class="col-sm-8">
					<input id="operatorName1" name="operatorName1" th:field="*{operatorName1}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">操作者工号：</label>
				<div class="col-sm-8">
					<input id="operatorCode2" name="operatorCode2" th:field="*{operatorCode2}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">操作者姓名：</label>
				<div class="col-sm-8">
					<input id="operatorName2" name="operatorName2" th:field="*{operatorName2}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">标志位：</label>
				<div class="col-sm-8">
					<input id="flag" name="flag" th:field="*{flag}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">${column.columnComment}：</label>
				<div class="col-sm-8">
					<input id="gid" name="gid" th:field="*{gid}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">操作时间：</label>
				<div class="col-sm-8">
					<input id="createDate" name="createDate" th:field="*{createDate}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/cgzxPlanproductplanMes";
		$("#form-cgzxPlanproductplanMes-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-cgzxPlanproductplanMes-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
